//
//  SynSearchSectionFoot.m
//  diaoyuren
//
//  Created by 钓鱼人 on 16/5/3.
//  Copyright © 2016年 game. All rights reserved.
//

#import "SynSearchSectionFoot.h"

@interface SynSearchSectionFoot ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *lin1;



@end

@implementation SynSearchSectionFoot

-(void)awakeFromNib{

    self.lin1.constant = 0.5;

}

-(void)drawRect:(CGRect)rect{

//    self.tableView = nil;

}

-(void)setFrame:(CGRect)frame{
    
    CGRect sectionRect = [self.tableView rectForFooterInSection:self.section];
     
    CGRect newFrame = CGRectMake(CGRectGetMinX(frame), sectionRect.origin.y, CGRectGetWidth(frame), CGRectGetHeight(frame));
    
    [super setFrame:newFrame];
    
}



@end
